package com.letoken.platform.repo.ecommerce.vo;

import com.letoken.platform.repo.ecommerce.dto.ShopAddSkuReq;
import com.letoken.platform.repo.ecommerce.po.EcommerceProduct;
import com.letoken.platform.repo.ecommerce.po.EcommerceProductDetail;
import com.letoken.platform.repo.ecommerce.po.EcommerceProductSku;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;


@ApiModel(value = "新商家商品详情响应对象")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShopProductDetailRes {

    @ApiModelProperty(value = "商品ID")
    private Integer id;


    @ApiModelProperty(value = "商品标题")
    private String title;

    @ApiModelProperty(value = "副标题")
    private String assistantTitle;

    @ApiModelProperty(value = "产品图片，限制6张，已逗号分隔")
    private String albumPics;




    @ApiModelProperty(value = "产品类别一级 ID ")
    private Integer parentCategoryId;

    @ApiModelProperty(value = "产品类别一级名称")
    private String parentCategoryName;

    @ApiModelProperty(value = "产品类别二级 ID ")
    private Integer categoryId;

    @ApiModelProperty(value = "产品类别二级名称")
    private String categoryName;



    @ApiModelProperty(value = "商品标签")
    private String tags;

    @ApiModelProperty(value = "图文详情")
    private String graphicDetails;

//    @ApiModelProperty(value = "是否免运费 1是 2否")
//    private Integer freeShipping;
//
//    @ApiModelProperty(value = "运费")
//    private BigDecimal shipping;



    @ApiModelProperty(value = "运费模板ID")
    private Integer templateId;


    @ApiModelProperty(value = "运费模板名称")
    private String templateName;




    @ApiModelProperty(value = "上架状态：0->下架；1->上架")
    private Integer publishStatus;







    @ApiModelProperty(value = "让利值")
    private BigDecimal contributing;






    @ApiModelProperty(value = "sku组合记录")
    private List<ShopAddSkuReq> skus;


    @ApiModelProperty(value = "sku规格结构")
    private List<Map> skuMap;




}
